<script setup>
defineProps({
    text:{
        type:String
    }
})
</script>
<template>
    <div>
        <div class="_mine_head_box">
            <div class="icon"><slot name="icon"></slot></div>
            <div class="text">{{text}}</div>
            <div class="btn"><van-icon name="arrow" /></div>
        </div>
    </div>
</template>

<style scoped>
._mine_head_box{
    width: 100%;
    height: 80px;
    background-color: white;
    display: flex;
    margin-bottom: 5px;
}
.icon,.btn{
    width: 100px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    /* background-color: antiquewhite; */
}
.text{
    width: 80%;
    height: 80px;
    line-height: 80px;
    /* background-color: aqua; */
    text-align: left;
}
</style>